//
//  Maps.m
//  TabulaImaginarius2
//
//  Created by TA2 on 4/17/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import "Maps.h"
#import "Map.h"

@implementation Maps

static Maps *maps = nil;

+ (Maps *)sharedMaps {
    if (maps == nil) {
        maps = [[NSMutableArray allocWithZone:NULL] init];
    }
    return maps;
}

+ (id)allocWithZone:(NSZone *)zone {
    return [[self sharedMaps] retain];
}

- (id)copyWithZone:(NSZone *)zone {
    return self;
}

- (id)retain {
    return self;
}

- (NSUInteger)retainCount {
    return NSUIntegerMax;  //denotes an object that cannot be released
}

- (void)release {
    //do nothing
}

- (id)autorelease {
    return self;
}

@end
